Skip to main content

Methods

MethodsDescription
AssignThe method copies a CAD image object and increase reference to the Converter object.
LoadFromStreamThe method loads a CAD image from stream.
LoadPreviewFromFileThe method loads the preview.
SaveToStreamThe method saves the image to the stream.
Methods derived from TsgCADImageDescription
AbsHeightThe method returns the entire height of the CAD image.
AbsWidthThe method returns the entire width of the CAD image.
AddScaledDXFThe method adds a new drawing to the TsgCADImage object.
AddScaledDXFExThe method adds a new drawing to the TsgCADImage object.
CommonToInternalUnitsThe method converts CAD coordinates of an image to the coordinates of the inner drawing's coordinate system.
CreateCreates and initializes a new TsgCADImage object.
DestroyDestroys an instance of the TsgCADImage class.
DrawRectThe method renders a part of a loaded drawing on a device context specified by DC.
ExportToMetafileThe method exports a CAD drawing to a Windows Enhanced metafile
GetCADCoordsThe method returns coordinates of a point on a drawing.
GetEntityColorThe method returns the entity's color.
GetExtentsThe method recalculates the drawing extents.
GetObjectSnapMaskThe method returns the object snap mode.
GetPointThe method converts point from the 3D coordinate system to the 2D coordinate system.
GetPointUCSThe method converts the UCS coordinates to the screen coordinates.
GetRealImagePointThe method the real coordinates of the point.
GetSnapDataThe method returns the data structure that contains the closest entity to the argument point, and the node point.
GetVisibleAreaThe method returns the visible area.
InternalToCommonUnitsThe method converts the coordinates of the inner drawing's coordinate system to the CAD coordinates of an image.
LoadFromClipboardFormatThe method loads from clipboard.
LoadFromFileThe method loads a CAD image from file.
MeasurementThe method returns the information about measurement system for linear and angular measures.
RefreshCurrentLayoutThe method refreshes sizes of the current layout.
ResetDrawingBoxThe method switches off the drawing box.
RotateThe method rotates the current image.
RotDefaultThe method rotates the image to the default view.
RotToViewThe method rotates the image by parameter defined in A3DView.
SaveToClipboardFormatThe method saves to clipboard.
SaveToFileThe method saves the image to the file.
SetObjectSnapMaskThe method sets the object snap mode.
SetVisibleAreaThe method sets an area for snap.
StopLoadingThe method stops loading the file and displays only the loaded data.